<?php
namespace app\admin\controller;


class Menus extends \app\common\controller\Base {
	protected $modelname='Menu';

	public function getUserMenu(){
		$menuModel=model('Menu');
		return json_pack($menuModel->getUserMenu($GLOBALS['userInfo']));
	}

	protected function _index(){
    return [];
	}

  protected function _allow_Sites(){
    return [$GLOBALS['userInfo']['site_id'],0];
  }
}


?>